package com.seatademo.accounts.service;

import com.seatademo.accounts.entity.AccountTbl;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wangjiacang
 * @since 2021-09-02
 */
public interface IAccountTblService extends IService<AccountTbl> {

    /**
     * 从账户支出
     * @param userId
     * @param money
     */
    public void debit(String userId, int money);
}
